package cn.com.bluemoon.daps.model.vo.share;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SearchShareTableVo {

    @ApiModelProperty(value = "每页显示的数量，必填")
    @NotNull(message = "每页显示的数量不允许为空")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页码数，必填")
    @NotNull(message = "当前页码数不允许为空")
    private Integer pageNum;

    @ApiModelProperty(value = "模型id，必填")
    @NotNull(message = "模型id不允许为空")
    private String modelId;

    @ApiModelProperty(value = "表英文名，搜索条件非必填")
    private String tableName;

    @ApiModelProperty(value = "组路径id，搜索条件非必填")
    private String groupId;

    @ApiModelProperty(value = "共享状态，1 表示未共享 0 表示未共享，搜索条件非必填")
    private Integer shareStatus;
}
